import Vue from 'vue'
import Notice from './Notice'
const NoticeContructor = Vue.extend(Notice);
export default function notice(options) {

    const instance = new NoticeContructor({
        data: options
    });

    instance.$mount();

    document.body.appendChild(instance.$el);

    return instance
}